package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 中台监控-返回码配置表-实体
 * @author zfsn
 * @date 2023-4-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "中台监控-返回码配置表", description = "")
@TableName("conf_mp_return_code")
public class ConfMpReturnCode extends Model<ConfMpReturnCode> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 所属服务id
	 */
	@ApiModelProperty(value = "所属服务id", notes = "所属服务id")
	private Integer serviceId;

	/**
	 * 返回码类型，字典：mp_return_code_type
	 */
	@ApiModelProperty(value = "返回码类型", notes = "返回码类型，字典：mp_return_code_type")
	private String type;

	/**
	 * 返回码名称
	 */
	@ApiModelProperty(value = "返回码名称", notes = "返回码名称")
	private String name;

	/**
	 * 返回码值
	 */
	@ApiModelProperty(value = "返回码值", notes = "返回码值")
	private String value;

	/**
	 * 返回码状态，字典：mp_return_code_status
	 */
	@ApiModelProperty(value = "返回码状态", notes = "返回码状态，字典：mp_return_code_status")
	private String status;

	/**
	 * 显示顺序
	 */
	@ApiModelProperty(value = "显示顺序", notes = "显示顺序")
	private Integer sequence;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;

}